package com.dz.risk.pojo.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.dz.risk.validation.Add;
import com.dz.risk.validation.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nfunk.jep.function.Str;

import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author yinpl
 * @email 
 * @date 2021-09-02 16:12:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_st_temporary_table_of_data")
@ApiModel(value = "中间表数据 : TemporaryTableOfDataEntity")
@Builder
public class TemporaryTableOfDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * indexId
	 */
	@TableId
	@ApiModelProperty(value = "id")
	@Excel(name = "id", orderNum = "8", width = 20)
	private String id;

	/**
	 * indexId
	 */
	@NotNull(message = "indexId不能为空", groups = {Add.class, Update.class})
	@Excel(name = "编号", orderNum = "8", width = 20)
	@ApiModelProperty(value = "编号")
	private String indexId;
	/**
	 * 数据
	 */
	@NotNull(message = "数据不能为空", groups = {Add.class, Update.class})
	@Excel(name = "数据", orderNum = "8", width = 20)
	@ApiModelProperty(value = "数据")
	private String indexValue;
	/**
	 * 日期
	 */
	@Excel(name = "日期", orderNum = "8", width = 20)
	@ApiModelProperty(value = "日期")
	private Long date;
	/**
	 * 备注
	 */
	@Excel(name = "备注")
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间")
	private String createTime;

}
